//存储动态相关的数据，便于在程序的全局范围内可以访问。
//需要保持数据的同步更新

#import "DynamicEntity.h"

static DynamicEntity* dynamicEntity;

@implementation DynamicEntity

@synthesize deArray;

- (instancetype)init{
    deArray = [NSMutableArray arrayWithCapacity:20];
    self = [super init];
    return self;
}

+(DynamicEntity*)getInstanse
{
    if(nil == dynamicEntity){
        dynamicEntity = [[DynamicEntity alloc]init];
    }
    return dynamicEntity;
}

@end
